﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Model;
using SDT.Lib.Paging;

namespace SDT.Mobile.Models
{
    public class ArticleViewModel
    {
        public IList<Article> Articles { get; set; }
        public IPagedList<Article> Articlepage { get; set; }
        public List<ProductType> ProductTypes { get; set; }
        public List<ArticleCategory> ArticleCategorys { get; set; }
        public string Keyword { get; set; }
        public string ImagePath { get; set; }
        public string ImageUrl { get; set; }
        public string DefaultUrl { get; set; }
    }
    public class ArticleListViewModel
    {
        public IList<Article> Articles { get; set; }
        public ArticleCategory Category { get; set; }
        public string Keyword { get; set; }
        public string ImagePath { get; set; }
        public string RootImageUrl { get; set; }

        public string ControllerName { get; set; }
        public string ActionList { get; set; }
        public string ActionDetails { get; set; }
        //For Data, Get image default for article
        public string RootCategoryImageUrl { get; set; }
    }
}
